package com.von.service.impl;

import com.von.param.PdfParam;
import com.von.service.FileDealService;
import com.von.util.PdfUtils;
import org.springframework.stereotype.Service;

/**
 * @author xiaosai
 * @version 1.0
 * @date 2021/9/13 14:18:41
 * @describe
 * @className
 */
@Service
public class FileDealServiceImpl implements FileDealService {

    @Override
    public void generatePdf(PdfParam pdfParam) {
        PdfUtils.base64StringToPdf(pdfParam.getContent(),pdfParam.getFilePath());
    }
}
